#DaydayupQ7-休息日不下降
def dayup(df):
    dayup = 1.0
    for i in range(365):
        if i % 4 in [0]:
            dayup = dayup*(1-0)
        else:
            dayup = dayup*(1+df)
    return dayup
dayfactor = 0.01
while (dayup(dayfactor)<1377.408):
    dayfactor +=0.001
print("每天的努力参数：{:.3f}".format(dayfactor))